package com.ruoyi.system.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author xy
 * @version 1.0
 * @description:
 * @date 2024/7/4 9:20
 */
@ApiModel(value = "DayElecInfoVo",description = "用户每日用电情况")
public class DayElecInfoVo {
    /**
     * 用电日期
     */
    @ApiModelProperty(value = "用电日期", notes = "用户用电的日期", example = "2024-6-30", required = true)
    private Date elecDate;

    /**
     * 用电量
     */
    @ApiModelProperty(value = "用电量", notes = "用户在一周内的总用电量（单位：千瓦时）", example = "350", required = true)
    private Long totalUsage;

    @Override
    public String toString() {
        return "DayElecInfoVo{" +
                "elecDate=" + elecDate +
                ", totalUsage=" + totalUsage +
                '}';
    }

    public Date getElecDate() {
        return elecDate;
    }

    public void setElecDate(Date elecDate) {
        this.elecDate = elecDate;
    }

    public Long getTotalUsage() {
        return totalUsage;
    }

    public void setTotalUsage(Long totalUsage) {
        this.totalUsage = totalUsage;
    }
}